package com.ruoyi.company.mapper;

import com.ruoyi.company.domain.CompanyScope;
import com.ruoyi.scope.domain.Scope;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface CompanyScopeMapper {

    int insertCompanyScope(CompanyScope companyScope);

    List<CompanyScope> selectList(Map<String,Object> map);

    int deleteByCompanyIdAndScopeId(Map<String,Object> map);

    CompanyScope selectScopeBySortAndDeptId(HashMap hashMap);

    List<CompanyScope> selectScopeByCompanyId(Long companyId);

    List<CompanyScope> selectScopeByCompanyIdAndScopeClass(HashMap hashMap);

    int deleteByCompanyId(HashMap hashMap);

    List<CompanyScope> allList();


}
